package com.learn.training.exceptionSample;

public class NullPointTest {

	public static void main(String[] args) {
        Person p = new Person();
        System.out.println(p.address.city.toLowerCase());
	}
}

class Person {
    String[] name = new String[2];
    Address address = null;
}

class Address {
    String city;
    String street;
    String zipcode;
}